// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_MTRL_SCRAP
// * CreateDate    : 2014-06-05 18:30:20
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:20
// * LastChanger   : 2014-06-05 18:30:20
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ProdMtrlScrapTable : TableInfo
    {
		public const string C_TableName = "PROD_MTRL_SCRAP";
		
		public const string C_Id = "Id";
		public const string C_Scrap_No = "Scrap_No";
		public const string C_Wo_No = "Wo_No";
		public const string C_Prod_Code = "Prod_Code";
		public const string C_Prod_Name = "Prod_Name";
		public const string C_Scrap_Type = "Scrap_Type";
		public const string C_CREATED_Date = "CREATED_Date";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_Updated_Date = "Updated_Date";
		public const string C_Updated_By = "Updated_By";
		public const string C_Related_No = "Related_No";
		public const string C_Status = "Status";
		public const string C_Is_Active = "Is_Active";
		
		public ProdMtrlScrapTable()
        {
            _tableName = "PROD_MTRL_SCRAP";
        }
		
		protected static ProdMtrlScrapTable _current;
        public static ProdMtrlScrapTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ProdMtrlScrapTable();

            _current.Add(C_Id, new ColumnInfo(C_Id,"Id", false, typeof(string)));
            _current.Add(C_Scrap_No, new ColumnInfo(C_Scrap_No,"ScrapNo", false, typeof(string)));
            _current.Add(C_Wo_No, new ColumnInfo(C_Wo_No,"WoNo", false, typeof(string)));
            _current.Add(C_Prod_Code, new ColumnInfo(C_Prod_Code,"ProdCode", false, typeof(string)));
            _current.Add(C_Prod_Name, new ColumnInfo(C_Prod_Name,"ProdName", false, typeof(string)));
            _current.Add(C_Scrap_Type, new ColumnInfo(C_Scrap_Type,"ScrapType", false, typeof(string)));
            _current.Add(C_CREATED_Date, new ColumnInfo(C_CREATED_Date,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_Updated_Date, new ColumnInfo(C_Updated_Date,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_Updated_By, new ColumnInfo(C_Updated_By,"UpdatedBy", false, typeof(string)));
            _current.Add(C_Related_No, new ColumnInfo(C_Related_No,"RelatedNo", false, typeof(string)));
            _current.Add(C_Status, new ColumnInfo(C_Status,"Status", false, typeof(int)));
            _current.Add(C_Is_Active, new ColumnInfo(C_Is_Active,"IsActive", false, typeof(int)));
			
		}
		
		public ColumnInfo Id
        {
            get { return this[C_Id]; }
        }
		
		public ColumnInfo Scrap_No
        {
            get { return this[C_Scrap_No]; }
        }
		
		public ColumnInfo Wo_No
        {
            get { return this[C_Wo_No]; }
        }
		
		public ColumnInfo Prod_Code
        {
            get { return this[C_Prod_Code]; }
        }
		
		public ColumnInfo Prod_Name
        {
            get { return this[C_Prod_Name]; }
        }
		
		public ColumnInfo Scrap_Type
        {
            get { return this[C_Scrap_Type]; }
        }
		
		public ColumnInfo CREATED_Date
        {
            get { return this[C_CREATED_Date]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo Updated_Date
        {
            get { return this[C_Updated_Date]; }
        }
		
		public ColumnInfo Updated_By
        {
            get { return this[C_Updated_By]; }
        }
		
		public ColumnInfo Related_No
        {
            get { return this[C_Related_No]; }
        }
		
		public ColumnInfo Status
        {
            get { return this[C_Status]; }
        }
		
		public ColumnInfo Is_Active
        {
            get { return this[C_Is_Active]; }
        }
		
		
		
	}
}

